const express = require("express");
const router = express.Router();
const RoleController = require("../../controller/role/RoleController.js");

router.get("/role/rolelist", RoleController.getRoleList);

router.delete("/role/rolelist/:id", RoleController.deleteRoleListItem);

router.post("/role/rolelist", RoleController.addRoleList);

router.patch("/role/rolelist/:id", RoleController.updateRoleItem);

module.exports = router;
